@import (reference) "~weaver-mobile/dist/weaver-mobile.less";

@buttonBarHeigh: 50 * @hd;

.hrm-auth{
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;


    height:100%;

    svg{
        width:80*@hd;
        height:80*@hd;
    }
}

.resource{
    width: 100%;
    height: 100%;

    .content{
        width: 100%;
        height: calc(~"100% - @{buttonBarHeigh}");
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        .items{
            background: #fff;
        }
    
        .header{
            width: 100%;
    
            .info{
                width: auto;
                padding: 8px 16px;
    
                .graphic{
                    float: left;
                    width: 60px;
                    height: 60px;
                    margin: 0px auto;
    
                    img{
                        width: 60px;
                        height: 60px;
                        border-radius: 50%;
                    }
                    .shortname{
                        background-color: #6495E8;
                        color: #fff;
                    }
                }

                .graphic .am-avatar{
                    width: 60px;
                    height: 60px;
                }
    
                .resourceInfo{
                    float: left;
                    margin-left: 16px;
                    width: calc(~"100% - 76px");
    
                    .lastName{
                        width: 100%;
                        font-size: @font-size-heading;
                        color: #333333;
                        height: 24px;
                        line-height: 24px;
    
                        &-item{
                            font-size: @font-size-heading;
                            float: left;
                            margin-right: 5px;

                            &-workcode{
                                font-size:@font-size-base;
                                color: #868686;
                            }
    
                            &-short{
                                font-size: @font-size-base;
                            }
                        }

                        &-pink{
                            color:#FF3EC9;
                        }

                        &-blue{
                            color:#2cbff5;
                        }
                    }
    
                    .depInfo{
                        clear: both;
                        word-break: break-all;
                        font-size: @font-size-base;
                        color: #868686;
                        line-height: @line-height-paragraph;
    
                        a,span{
                            color: #868686;
                        }
                    }
                }
    
                .clear{
                    clear: both;
                }
            }
        }
    
        .catelog{
            width: 100%;
            padding: 7px 0 5px 32px;
            font-size: @font-size-base;
            .item{
                width:calc(~"25% - 10px");
                padding: 10px 0;
                height: 50px;
                position: relative;
                & div{
                    display:inline-block;
                }
                & div:first-child{
                    position: absolute;
                }
                &-label{
                   
                }
                &-num{
                    width: calc(~"100% - 31px");
                    padding-left: 30px;
                }
                &-num span{
                    display:block;
                    padding:3px 0;
                }
                &-num span:last-child{
                    padding-top: 5px;
                }
                
            }
        }

        .info{
             line-height: @line-height-paragraph;
             padding: 8px 16px;
             background-color: @fill-base;
             & ul li{
                list-style: none;
             }
             &-title{
                width: 100%;
                border-left: 6px solid #55B1F9;
                padding-left: 10px;
                color: #55B1F9;
             }
             &-item{
                width: 100%;
                padding: 5px 0px 5px 16px;
                &-row{
                    padding: 5px 0;
                }
                &-label{
                    width: 30%;
                    color: #868686;
                }
                &-value{
                    width: 60%;
                    color:@color-text-base;
                    word-break: break-all;
                    & a{
                        text-decoration:none; 
                        color:#333; 
                    }
                    &-link{
                        cursor: pointer;
                        color: #2D7AD8;
                        display: inline-block;
                        width: 100%;
                    }
                    &-link:hover{
                        color: #2DB7F5;
                    }
                    &-link a{
                        cursor: pointer;
                        color: #2D7AD8;
                    }
                    &-link a:hover{
                        cursor: pointer;
                        color: #2D7AD8;
                    }

                    &-link > div{
                        color:black;
                    }
                }

                &-icon{
                     width: 10%;
                     color: #097ad2;
                     text-align: right;
                }
                &-icon a{
                     color: #086fbf; 
                }
             }
        }

    }

}

 .subordinate{
    background-color: #717171;
    line-height: @line-height-paragraph;
    text-align: center;
    color: #FFF;

}

.hrm-over-flow {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

